<?php 
$templateURL = $this->basePath('public/template');
?>
 <div id="nav-col">
         <div id="user-left-box" class="clearfix">
            <img alt="avatar" src="<?php echo $templateURL ?>/backend/img/avatar.png">
            <div class="user-box">
                <span class="name">
                  Welcome<br>
                  <?php 
					 $users=$this->user_helper();
					 foreach ($users as $item){
					 	echo "<span class='username'>" . $item['NAME'] . "</span>";
					 }
					?>
                </span>
                <span class="status">
                   <i class="fa fa-circle"></i>
                     Online 
                </span>
            </div>
         </div>
         <div id="sidebar-nav" class="navbar-collapse navbar-collapses1 navbar-ex1-collapse">
             <?php
			    echo $this->navigation('Navigation') // <-- Update this!!
			              ->menu()
			              ->setPartial('layout/submenupro');
			    ?>
            
         </div>
    </div>